[%#%]邮件模板列表[%#%]
[%if $menutype == 'emailtemplatelist'%]
<ul class="listbottonul" id="listbottonul">
	[%if @this->powercheck('templates','mailtemplateadd')==true %]
	<li class="menumain"><a id="addinfo" class="addinfo" onclick="javascript:parent.onbotton('[%$ST.botton_add_mailtemplateadd|addslashes('hc')%]','index.php?archive=mailtemplatemain&action=mailtemplateadd&tab=true&freshid='+Math.random()+'&iframename='+self.frameElement.getAttribute('name'),false,'addinfo',self.frameElement.getAttribute('name'));"  href="#body" title="[%$ST.botton_add_mailtemplateadd%]" hidefocus="true">[%$ST.botton_add_mailtemplateadd%]</a></li>
	[%/if%]
	<li class="menumain"><a id="selectall" class="selectall" href="javascript:select_change(true,'selectform','selectall','check_all')" title="[%$ST.selAll_botton%]" hidefocus="true">[%$ST.selAll_botton%]</a></li>
	<li class="menumain"><a id="bolt" href="#body" hidefocus="true" hidefocus="true">[%$ST.bolt_botton%]</a>
		<ul class="menulist">
			<li><span class="menufont">[%$ST.mailtemplatemain_text_class%]</span>
				<ul>
					<li><a class="menunoclick" id="typeclass0" href="#body" onclick="javascript:dbfilter('typeclass','typeclass',0,0,8,'selectform','selectall','check_all')" title="[%$ST.all_botton%]" hidefocus="true">[%$ST.all_botton%]</a></li>
					<li><a class="menuclick" id="typeclass1" href="#body" onclick="javascript:dbfilter('typeclass','typeclass','mailorder',1,8,'selectform','selectall','check_all')" title="[%$ST.mailtemplatemain_text_class1%]" hidefocus="true">[%$ST.mailtemplatemain_text_class1%]</a></li>
					<li><a class="menuclick" id="typeclass2" href="#body" onclick="javascript:dbfilter('typeclass','typeclass','mailenquiry',2,8,'selectform','selectall','check_all')" title="[%$ST.mailtemplatemain_text_class2%]" hidefocus="true">[%$ST.mailtemplatemain_text_class2%]</a></li>
					<li><a class="menuclick" id="typeclass3" href="#body" onclick="javascript:dbfilter('typeclass','typeclass','mailmember',3,8,'selectform','selectall','check_all')" title="[%$ST.mailtemplatemain_text_class3%]" hidefocus="true">[%$ST.mailtemplatemain_text_class3%]</a></li>
					<li><a class="menuclick" id="typeclass4" href="#body" onclick="javascript:dbfilter('typeclass','typeclass','mailform',4,8,'selectform','selectall','check_all')" title="[%$ST.mailtemplatemain_text_class4%]" hidefocus="true">[%$ST.mailtemplatemain_text_class4%]</a></li>
					<li><a class="menuclick" id="typeclass5" href="#body" onclick="javascript:dbfilter('typeclass','typeclass','mailbbs',5,8,'selectform','selectall','check_all')" title="[%$ST.mailtemplatemain_text_class5%]" hidefocus="true">[%$ST.mailtemplatemain_text_class5%]</a></li>
					<li><a class="menuclick" id="typeclass6" href="#body" onclick="javascript:dbfilter('typeclass','typeclass','maildocbbs',6,8,'selectform','selectall','check_all')" title="[%$ST.mailtemplatemain_text_class6%]" hidefocus="true">[%$ST.mailtemplatemain_text_class6%]</a></li>
					<li><a class="menuclick" id="typeclass7" href="#body" onclick="javascript:dbfilter('typeclass','typeclass','mailother',7,8,'selectform','selectall','check_all')" title="[%$ST.mailtemplatemain_text_class7%]" hidefocus="true">[%$ST.mailtemplatemain_text_class7%]</a></li>
				</ul>
			</li>
			<li><span class="menufont">[%$ST.mailtemplatemain_lockin_botton%]</span>
				<ul>
					<li><a class="menunoclick" id="lockin0" href="#body" onclick="javascript:dbfilter('lockin','lockin',0,0,3,'selectform','selectall','check_all')" title="[%$ST.all_botton%]" hidefocus="true">[%$ST.all_botton%]</a></li>
					<li><a class="menuclick" id="lockin1" href="#body" onclick="javascript:dbfilter('lockin','lockin',1,1,3,'selectform','selectall','check_all')" title="[%$ST.mailtemplatemain_lockin_botton1%]" hidefocus="true">[%$ST.mailtemplatemain_lockin_botton1%]</a></li>
					<li><a class="menuclick" id="lockin2" href="#body" onclick="javascript:dbfilter('lockin','lockin',2,2,3,'selectform','selectall','check_all')" title="[%$ST.mailtemplatemain_lockin_botton2%]" hidefocus="true">[%$ST.mailtemplatemain_lockin_botton2%]</a></li>
				</ul>
			</li>
		</ul>
	</li>
	<li class="menumain"><a id="refresh" href="#body" onclick="javascript:refresh('selectform','selectall','check_all');" title="[%$ST.refresh_botton%]" hidefocus="true">[%$ST.refresh_botton%]</a></li>
	[%if @this->powercheck('templates','mailtemplateedit')==true %]
	<li class="menumain"><a id="setbotton" href="#body" hidefocus="true" title="[%$ST.set_botton%]">[%$ST.set_botton%]</a>
		<ul class="menulist">
			<li><span class="menufont">[%$ST.mailtemplatemain_text_isopen%]</span>
				<ul>
					<li><a class="menuclick" href="#body" onclick="javascript:callrun('index.php?archive=mailtemplatemain&action=setting','selectinfoid',true,'isclass',1,'index.php?archive=management&action=load','[%$ST.update_messok%]','[%$ST.select_no%]',true,'[%$ST.run_ok%]','[%$ST.run_no%]','selectform','selectall','check_all');" title="[%$ST.open_botton_title%]" hidefocus="true">[%$ST.open_botton_title%]</a></li>
					<li><a class="menuclick" href="#body" onclick="javascript:callrun('index.php?archive=mailtemplatemain&action=setting','selectinfoid',true,'isclass',0,'index.php?archive=management&action=load','[%$ST.update_messok%]','[%$ST.select_no%]',true,'[%$ST.run_ok%]','[%$ST.run_no%]','selectform','selectall','check_all');" title="[%$ST.close_botton_title%]" hidefocus="true">[%$ST.close_botton_title%]</a></li>
				</ul>
			</li>
		</ul>
	</li>
	[%/if%]
</ul>
[%/if%]      